# Rebuild Search Database

Note: Manually rebuilding the search database can take a long time, hours for a large collection, and your browser window must remain open on the progress page until the rebuild is complete.

The Rebuild Search Database page allows administrators to manually rebuild the search database.

Resource information in the search database is updated automatically whenever a new resource record is added, updated, or deleted from the collection. Rebuilding the search database is unnecessary except after importing resource records, when upgrading to a new version of CWIS to take advantage of any improvements to the search engine, or when search results seem inaccurate.

The search database can be rebuilt in either the foreground or background. Rebuilding the search database in the foreground requires that the web browser remain on the page until the rebuild is complete, but it provides a completion time estimate and current status. Rebuilding the search database in the background uses ackground tasks and does not require that the web browser remain on the page. It does not provide a completion time estimate or current status due to the nature of background tasks, but is highly recommended except for small collections, i.e., those with fewer than 100 or so resource records, because rebuilding the search database can take a very long time and background tasks are less performance intensive.

Manual Rebuild Background Rebuild Cancel